*{
    margin: 0;
    padding: 0;
}
body{
    font: bold 14px 'Open Sans', sans-serif;
	width:100%;
	margin: 0 auto;
}
header, nav{
    display: block;
}

/* Definimos un ancho 100% y una altura fija para nuestro menú */
header{
    height:100px;
    position: relative;
    width: 80%;
    z-index: 2;
	margin:0 auto;
	top:20px;
}


#social{

  height: 100px;
  width: 500px;
  float: right;
  margin-top: 10px;
  text-align: right;
  /*background:red;*/ 

}

.socialtxt{

   font-size: 15px;

}
#social img{

  height: 30px;
  width: 30px;
  margin-left: 5px;
  float: right;
  margin-top: 10px;

}



/* El logo sera flotado a la izquierda */
#logo{
    background: url(logofinal.jpg) no-repeat 0 0;
    display: block;
    float: left;
    margin: 6px 10px 0;
    width: 323px;
    height: 100px;
    text-indent: -9999px;
    
}

#logoimage{
	width:240px; 
	height:80px;
	margin-top:15px;
	margin-left:10px;
  
}

#logoimage a{
	width:20%;
  
}


/* menu */

div#menu { 

 margin-top:50px;

}

/*----------- fin menu--------- */


/* Content */
#content{
    width: 80%;
    margin: 60px 10%;
    text-align: center;
    overflow: hidden;
}
    h2{
        font-size: 50px;
        font-weight: 600;
        text-transform: uppercase;
        color: #624c3f;
    }

/*------------------SLIDER-------------------*/	
	
#slideshow{
	width:100%;
	background-color:#1f1f1f;
	    -moz-background-size: cover;
    -webkit-background-size: cover;
    background-size: cover;
    margin-top:5px;
	z-index:-1;
}


.html_carousel {
	width:90%;
	border-radius:25px;
	margin:0 auto;
	
}
.html_carousel div.slide {
	position: relative;
}


.rslides {
  position: relative;
  list-style: none;
  overflow: hidden;
  width: 100%;
  padding: 0;
  margin: 0 auto;
  height:auto;
  z-index:1;
  }

.rslides li {
  -webkit-backface-visibility: hidden;
  position: absolute;
  display: none;
  width: 100%;
  left: 0;
  top: 0;
  }

.rslides li:first-child {
  position: relative;
  display: block;
  float: left;
  }

.rslides img {
  display: block;
  height: auto;
  float: left;
  width: 100%;
  border: 0;
  }
  
  .clearfix {
	float: none;
	clear: both;
}
/* ------------------FIN SLIDER----------------- */

#texto{
	width:80%;
	margin: 0 auto;
}

.grupo{
	margin-top:4%;
	width:31%;
	float:left;
	margin-bottom:2%;
	margin-right:20px;
}

.grupo img{
	float:left;
	display:block;
	width:80px;
	-webkit-box-shadow: 0 2px 1px #c3c3c3;
    -moz-box-shadow: 0 2px 1px #c3c3c3;
    box-shadow: 0 2px 1px #c3c3c3;
	border-radius:15px 15px 15px 15px;
	opacity:0.8;
	filter: alpha(opacity=80);
    filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=75);
	-webkit-transition: opacity 0.2s ease-in-out;
	-moz-transition: opacity 0.2s ease-in-out;
	-o-transition: opacity 0.2s ease-in-out;
	-ms-transition: opacity 0.2s ease-in-out;
	transition: opacity 0.2s ease-in-out;

	behavior: url(pie/PIE.htc);
	
}

.grupo img:hover{
	opacity:1;
	filter: alpha(opacity=100);
}

.grupo h3{
	font-family:Cookie, Arial, Helvetica, sans-serif;
	font-size:24px;
	font-weight:bold;
	margin-top:5%;
	margin-left:100px;
	color:#F15A24;
	margin-bottom:10%;
	text-shadow: 0 1px 1px #dadada;
}

.grupo p{
	font-family:Lato, Arial, Helvetica, sans-serif;
	font-size:100%;
	line-height:140%;
}

.grupo p a{
	color:#F15A24;
	text-decoration:none;
}
	


footer{
	width:100%;
	padding:10px 0;
	background-color:#2e2e2e;
}

.icon{
	float:right;
	width:32px;
	margin:95px 0 2px 4%;
	opacity:0.85;
}

.icon:hover{
	opacity:1;
}

.social{
	color:#f38094;
}

.contact{
	background:#000;
	width:100%;
	height:60px;
}

/*
    MEDIA QUERY
*/

@media only screen and (max-width: 1279px) {
	.wrapper{
		width:90%;
	}
	
}

@media only screen and (max-width: 1105px) {
	
	
		.grupo{
		width:28%;
	}
}

@media only screen and (max-width: 1030px) {
	
	.grupo{
		width:100%;
	}
	
	.grupo h3{
		margin-bottom:1%
	}

}



@media only screen and (max-width: 860px) {
	header h1{
		font-size:110%;
	}
	
	header h2{
		font-size:80%;
	}
	
	
}

@media only screen and (max-width: 850px) {
		
	.grupo h3{
		margin-bottom:2%
	}
}

@media only screen and (max-width: 720px) {
	
	#logo{
		width:150px;
		display:block;
		margin:auto;
		margin-bottom:5%;
	}
	
	nav{
		width:100%;
	}
	
	header h1{
		font-size:100%;
		margin-bottom:5%;
	}
	
	header h2{
		font-size:60%;
	}
	
	
	
	.grupo h3{
		margin-bottom:5%;
	}
	
	
	
	
}





@media only screen and (max-width: 720px) {
	#logoimage{
		width:180px;
		height:56px;
	}
	
}


	

